cordova.define("cordova-plugin-util.util", function (require, exports, module) {
	var exec = require('cordova/exec');

	exports.login = function (success, error) {
		exec(success, error, 'util', 'login', []);
	};

	exports.viewPics = function (pics, index, success, error) {
		exec(success, error, 'util', 'viewPics', [pics, index]);
	};

	exports.ws = function (name, success, error) {
		exec(success, error, 'util', 'ws', [name]);
	};

	exports.download = function (url, success, error) {
		exec(success, error, 'util', 'download', [url]);
	};

	exports.getVersion = function (success, error) {
		exec(success, error, 'util', 'getVersion', []);
	};

	exports.wxpay = function (data, success, error) {
		exec(success, error, 'util', 'wxpay', [data])
	}

});